package com.cmict.data.infra.controller.admin.message.vo;

import com.cmict.data.infra.api.emus.MessageTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 用户公告表
 *
 * @author hccake 2020-12-25 08:04:53
 */
@Data
@Schema(title = "用户公告分页VO")
public class MyAnnouncementPageVO {

	private static final long serialVersionUID = 1L;

	/**
	 * 公告id
	 */
	@Schema(title = "ID")
	private Long id;

	/**
	 * 标题
	 */
	@Schema(title = "标题")
	private String title;

	/**
	 * 内容
	 */
	@Schema(title = "内容")
	private String content;
	/**
	 * 内容显示字段
	 */
	@Schema(title = "内容显示字段")
	private String contentDisplay;

	@Schema(title = "短信内容")
	private String smsContent;

	/**
	 * 附属url
	 */
	@Schema(title = "附属url")
	private String url;


	/**
	 * 消息类型
	 * @see MessageTypeEnum
	 */
	@Schema(title = "消息类型")
	private Integer type;

	/**
	 * 公告id
	 */
	@Schema(title = "公告id")
	private Long userAnnouncementId;

	/**
	 * 用户ID
	 */
	@Schema(title = "用户ID")
	private Integer userId;

	/**
	 * 状态，已读(1)|未读(0)
	 */
	@Schema(title = "状态，已读(1)|未读(0)")
	private Integer state;

	/**
	 * 阅读时间
	 */
	@Schema(title = "阅读时间")
	private LocalDateTime sendTime;

	/**
	 * 阅读时间
	 */
	@Schema(title = "阅读时间")
	private LocalDateTime readTime;

	/**
	 * 创建时间
	 */
	@Schema(title = "创建时间")
	private LocalDateTime createTime;
	/**
	 * 附件
	 */
	@Schema(title = "附件")
	private String allFileList ;

}
